// SPDX-License-Identifier: Apache 2

#[test_only]
module token_bridge::dummy_message {
    public fun encoded_transfer(): vector<u8> {
        // let decimals = 8;
        // let expected_amount = normalized_amount::from_raw(234567890, decimals);
        // let expected_token_address = external_address::from_address(@0xbeef);
        // let expected_token_chain = 1;
        // let expected_recipient = external_address::from_address(@0xcafe);
        // let expected_recipient_chain = 7;
        // let expected_relayer_fee =
        //     normalized_amount::from_raw(123456789, decimals);
        x"01000000000000000000000000000000000000000000000000000000000dfb38d2000000000000000000000000000000000000000000000000000000000000beef0001000000000000000000000000000000000000000000000000000000000000cafe000700000000000000000000000000000000000000000000000000000000075bcd15"
    }

    public fun encoded_transfer_with_payload(): vector<u8> {
        // let expected_amount = normalized_amount::from_raw(234567890, 8);
        // let expected_token_address = external_address::from_address(@0xbeef);
        // let expected_token_chain = 1;
        // let expected_recipient = external_address::from_address(@0xcafe);
        // let expected_recipient_chain = 7;
        // let expected_sender = external_address::from_address(@0xdeadbeef);
        // let expected_payload = b"All your base are belong to us.";
        x"03000000000000000000000000000000000000000000000000000000000dfb38d2000000000000000000000000000000000000000000000000000000000000beef0001000000000000000000000000000000000000000000000000000000000000cafe0007381dd9078c322a4663c392761a0211b527c127b29583851217f948d62131f409416c6c20796f75722062617365206172652062656c6f6e6720746f2075732e"
    }

    public fun encoded_transfer_vaa_native_with_fee(): vector<u8> {
        // emitterChain: 2,
        // emitterAddress: '0x00000000000000000000000000000000000000000000000000000000deadbeef',
        // amount: 3000n,
        // tokenAddress: '0x0000000000000000000000000000000000000000000000000000000000000001',
        // tokenChain: 21,
        // toAddress: '0x000000000000000000000000000000000000000000000000000000000000b0b1',
        // chain: 21,
        // fee: 1000n
        x"01000000000100bce07d9dce4e16f564788b0885fa31fa6c5c1bb7ee1f7d0948b8f2c2ae9e87ea4eccfc86affb8b7cf8bfcc774effe0fa7a54066d8a4310a4bb0350fd3097ab25000000000000000000000200000000000000000000000000000000000000000000000000000000deadbeef00000000000000010f010000000000000000000000000000000000000000000000000000000000000bb80bc9c77af025eb7f73940ad00c9d6f06d45253339a110b0f9ff03b822e5877d30015000000000000000000000000000000000000000000000000000000000000b0b1001500000000000000000000000000000000000000000000000000000000000003e8"
    }

    public fun encoded_transfer_with_payload_vaa_native(): vector<u8> {
        // emitterChain: 2,
        // emitterAddress: '0x00000000000000000000000000000000000000000000000000000000deadbeef',
        // amount: 3000n,
        // tokenAddress: '0x0000000000000000000000000000000000000000000000000000000000000001',
        // tokenChain: 21,
        // toAddress: '0x381dd9078c322a4663c392761a0211b527c127b29583851217f948d62131f409',
        // chain: 21,
        // fromAddress: '0x000000000000000000000000000000000000000000000000000000000badc0de',
        // payload: 'All your base are belong to us.'
        x"010000000001003aced6a481653aa534b2f679122e0179de056dbef47442b8c3a1a810dbdfa71049f53cab6e82362800c1558d44993fa6e958a75bd6e6a3472dd278e900041e29010000000000000000000200000000000000000000000000000000000000000000000000000000deadbeef00000000000000010f030000000000000000000000000000000000000000000000000000000000000bb80bc9c77af025eb7f73940ad00c9d6f06d45253339a110b0f9ff03b822e5877d30015381dd9078c322a4663c392761a0211b527c127b29583851217f948d62131f4090015000000000000000000000000000000000000000000000000000000000badc0de416c6c20796f75722062617365206172652062656c6f6e6720746f2075732e"
    }

    public fun encoded_transfer_vaa_wrapped_12_with_fee(): vector<u8> {
        // emitterChain: 2,
        // emitterAddress: '0x00000000000000000000000000000000000000000000000000000000deadbeef',
        // amount: 3000n,
        // tokenAddress: '0x00000000000000000000000000000000000000000000000000000000beefface',
        // tokenChain: 2,
        // toAddress: '0x000000000000000000000000000000000000000000000000000000000000b0b1',
        // chain: 21,
        // fee: 1000n
        x"010000000001005537ca9a981a62823f57a706f3ceab648391fd99a11631296f798aa394ba6aff73540afefad8634ed573c73c5aa9a16e68906321fa6a4c8a488611b933b1f5b1000000000000000000000200000000000000000000000000000000000000000000000000000000deadbeef00000000000000010f010000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000beefface0002000000000000000000000000000000000000000000000000000000000000b0b1001500000000000000000000000000000000000000000000000000000000000003e8"
    }

    public fun encoded_transfer_vaa_wrapped_12_without_fee(): vector<u8> {
        // emitterChain: 2,
        // emitterAddress: '0x00000000000000000000000000000000000000000000000000000000deadbeef',
        // amount: 3000n,
        // tokenAddress: '0x00000000000000000000000000000000000000000000000000000000beefface',
        // tokenChain: 2,
        // toAddress: '0x000000000000000000000000000000000000000000000000000000000000b0b1',
        // chain: 21,
        // fee: 0n
        x"01000000000100e5558a2955f94fdb174d7868c9f643700174949ac72b90f803bdbea00453ed4c426c055b956060c905189cb710b97916af6a77cd3168f83eca9c66b6366c85c4000000000000000000000200000000000000000000000000000000000000000000000000000000deadbeef00000000000000010f010000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000beefface0002000000000000000000000000000000000000000000000000000000000000b0b100150000000000000000000000000000000000000000000000000000000000000000"
    }

    public fun encoded_transfer_with_payload_wrapped_12(): vector<u8> {
        // emitterChain: 2,
        // emitterAddress: '0x00000000000000000000000000000000000000000000000000000000deadbeef',
        // amount: 3000n,
        // tokenAddress: '0x00000000000000000000000000000000000000000000000000000000beefface',
        // tokenChain: 2,
        // toAddress: '0x381dd9078c322a4663c392761a0211b527c127b29583851217f948d62131f409',
        // chain: 21,
        // fromAddress: '0x000000000000000000000000000000000000000000000000000000000badc0de',
        // payload: 'All your base are belong to us.'
        x"0100000000010054968c9be4059d7dc373fff8e80dfc9083c485663517534807d61d11abec64896c4185a2bdd71e3caa713d082c78f5d8b1586c56bd5042dfaba1de0ca0d978a0010000000000000000000200000000000000000000000000000000000000000000000000000000deadbeef00000000000000010f030000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000beefface0002381dd9078c322a4663c392761a0211b527c127b29583851217f948d62131f4090015000000000000000000000000000000000000000000000000000000000badc0de416c6c20796f75722062617365206172652062656c6f6e6720746f2075732e"
    }

    public fun encoded_transfer_vaa_wrapped_7_with_fee(): vector<u8> {
        // emitterChain: 2,
        // emitterAddress: '0x00000000000000000000000000000000000000000000000000000000deadbeef',
        // amount: 3000n,
        // tokenAddress: '0x00000000000000000000000000000000000000000000000000000000deafface',
        // tokenChain: 2,
        // toAddress: '0x000000000000000000000000000000000000000000000000000000000000b0b1',
        // chain: 21,
        // fee: 1000n
        x"01000000000100b9dc34e110e4268ac1e0ef729513083d45b59e0c2cbee8f9fd7d7d2ed900c8ad2a5ca55310fb3741bf3ff8c611e37a2fee2852e09feb491261edf53fcc956edf010000000000000000000200000000000000000000000000000000000000000000000000000000deadbeef00000000000000010f010000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000deafface0002000000000000000000000000000000000000000000000000000000000000b0b1001500000000000000000000000000000000000000000000000000000000000003e8"
    }

    public fun encoded_transfer_vaa_wrapped_7_without_fee(): vector<u8> {
        // emitterChain: 2,
        // emitterAddress: '0x00000000000000000000000000000000000000000000000000000000deadbeef',
        // amount: 3000n,
        // tokenAddress: '0x00000000000000000000000000000000000000000000000000000000deafface',
        // tokenChain: 2,
        // toAddress: '0x000000000000000000000000000000000000000000000000000000000000b0b1',
        // chain: 21,
        // fee: 0n
        x"01000000000100389f0544dc2d3f7095d4e9543ae9f6cb5c9dd6a561e95ed896c870907fe85a94373a455acac8d2ad66154df1cb19ba4ae6c583a1c2839971e6760ecaa1d9fca7000000000000000000000200000000000000000000000000000000000000000000000000000000deadbeef00000000000000010f010000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000deafface0002000000000000000000000000000000000000000000000000000000000000b0b100150000000000000000000000000000000000000000000000000000000000000000"
    }

    public fun encoded_transfer_vaa_wrapped_12_invalid_target_chain(): vector<u8> {
        // emitterChain: 2,
        // emitterAddress: '0x00000000000000000000000000000000000000000000000000000000deadbeef',
        // amount: 3000n,
        // tokenAddress: '0x00000000000000000000000000000000000000000000000000000000beefface',
        // tokenChain: 2,
        // toAddress: '0x000000000000000000000000000000000000000000000000000000000000b0b1',
        // chain: 69,
        // fee: 0n
        x"010000000001009c0b89b21622bde003f8e775daffe343e65d6a537719bc977c85b0b18c26751c7bff61077e74711dfe865d935fa840a7352d7a1ccbcec4be77bfc591cd265a48000000000000000000000200000000000000000000000000000000000000000000000000000000deadbeef00000000000000010f010000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000beefface0002000000000000000000000000000000000000000000000000000000000000b0b1004500000000000000000000000000000000000000000000000000000000000003e8"
    }

    public fun encoded_transfer_with_payload_wrapped_12_invalid_target_chain(): vector<u8> {
        // emitterChain: 2,
        // emitterAddress: '0x00000000000000000000000000000000000000000000000000000000deadbeef',
        // amount: 3000n,
        // tokenAddress: '0x00000000000000000000000000000000000000000000000000000000beefface',
        // tokenChain: 2,
        // toAddress: '0x381dd9078c322a4663c392761a0211b527c127b29583851217f948d62131f409',
        // chain: 21,
        // fromAddress: '0x000000000000000000000000000000000000000000000000000000000badc0de',
        // payload: 'All your base are belong to us.'
        x"01000000000100b139a7dbb747b04509ae4f511080a9cb080e423d8db086d5c7553baed2d6151e3fbdd00e691d82662b8d1ed49ec374dba5f82e82df20921151da4b948ddce41e000000000000000000000200000000000000000000000000000000000000000000000000000000deadbeef00000000000000010f030000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000beefface0002381dd9078c322a4663c392761a0211b527c127b29583851217f948d62131f4090045000000000000000000000000000000000000000000000000000000000badc0de416c6c20796f75722062617365206172652062656c6f6e6720746f2075732e"
    }

    public fun encoded_register_chain_2(): vector<u8> {
        x"0100000000010015d405c74be6d93c3c33ed6b48d8db70dfb31e0981f8098b2a6c7583083e0c3343d4a1abeb3fc1559674fa067b0c0e2e9de2fafeaecdfeae132de2c33c9d27cc0100000001000000010001000000000000000000000000000000000000000000000000000000000000000400000000016911ae00000000000000000000000000000000000000000000546f6b656e427269646765010000000200000000000000000000000000000000000000000000000000000000deadbeef"
    }

    public fun encoded_asset_meta_vaa_foreign_12(): vector<u8> {
        x"0100000000010080366065746148420220f25a6275097370e8db40984529a6676b7a5fc9feb11755ec49ca626b858ddfde88d15601f85ab7683c5f161413b0412143241c700aff010000000100000001000200000000000000000000000000000000000000000000000000000000deadbeef000000000150eb23000200000000000000000000000000000000000000000000000000000000beefface00020c424545460000000000000000000000000000000000000000000000000000000042656566206661636520546f6b656e0000000000000000000000000000000000"
    }
}
